]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Include test-theme in tests
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 26 Feb 2019 00:58:44 +0000 (01:58 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 4 Mar 2019 20:10:07 +0000 (20:10 +0000)
It's an existing test that doesn't require interaction, so there's
no reason why it shouldn't be run by `ninja test`.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/419

src/st/meson.build

index 118d0fda0415be78b449e8ae73fa42158391144a..38ae5c7220be6a7eb4d730cc3781f74f86d6b3b2 100644 (file)
@@ -139,9 +139,14 @@ test_theme = executable('test-theme',
   sources: 'test-theme.c',
   c_args: st_cflags,
   dependencies: [clutter_dep, gtk_dep],
+  build_rpath: mutter_typelibdir,
   link_with: libst
 )
 
+test('CSS styling support', test_theme,
+  workdir: meson.current_source_dir()
+)
+
 libst_gir = gnome.generate_gir(libst,
   sources: st_gir_sources,
   nsversion: '1.0',